import request from "@/utils/request.js"

/*
* 查询评论列表
* */

export const QueryCommentList = (data) => {
    return request("/comment/list", "get", data)
}

/*
* 根据评论id查询回复列表
* */
export const QueryReplyList = (data) => {
    return request("/reply/list", "get", data)
}

/*
* 发布评论
* */
export const PublishComment = (data) => {
    return request("/comment/publish", "post", data)
}

/*
* 新增回复
* */
export const PublishReply = (data) => {
    return request("/reply/increased", "post", data)
}
